-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate tfe_organization_run_task to plugin model #1282
Conversation
3117b50
to
691565d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for migrating this resource to the framework! This is the first time I've had to review a simple sdk -> framework migration and you made it really easy.
Shout out @ctrombley for the pair code review
691565d
to
f4e1679
Compare
@brandonc and @ctrombley Fixed up the PR as per comments and I also noticed that the resource import was completely removed (Whoops). I put that back in. Although I am tad concerned that the CI tests didn't pick that up. My testing did. |
Found it. GHA was using the wrong variable name. Fixed it. |
5be15e2
to
9fa7cd7
Compare
I've found too many errors in the acceptance testing and moved them all to #1291. Blocked this PR in the mean time |
9fa7cd7
to
dfcd2f8
Compare
@brandonc This is back ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done
This commit migrates the tfe_organization_run_task resource to the newer plugin model. It uses a schema v0 as there is no difference in schema. Later changes will migrate the other resource and data source objects.
Previously the Org. Run Task resource would not trigger a change if it was using the default organization. This commit updates the plan modifier to detect when this happens and trigger a modification.
Due to the DataSource test using the Resource code to create the test fixture we also need to update the provider factories from only the old one to the newer Mux provider.
64509ab
to
7a086ca
Compare
Description
Requires #1291 to be merged first
This commit migrates the tfe_organization_run_task resource to the newer
plugin model. It uses a schema v0 as there is no difference in schema.
Later changes will migrate the other resource and data source objects.
As this is a no-op as far as customer changes go, no changelog is required.
Testing plan
Manually tested
tfe_resource_run_task
resource with the existing providerExternal links
N/A
Output from acceptance tests
Local testing...